﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MODEL;

namespace StudentManage
{
    public partial class Frm_Class : Form
    {
        public Frm_Class()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string name = this.textBox1.Text;
            this.dgv_Class.DataSource = BLL.ClassManage.ChaXunClassName(name);

        }

        private void Frm_Class_Load(object sender, EventArgs e)
        {
            this.dgv_Class.DataSource = BLL.ClassManage.ChaXunClass();
        }

        private void 添加ToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }
    }
}
